﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PresentCharge.aspx.cs" Inherits="Manager_User_PageData_PresentCharge" MasterPageFile="~/Manager/User/PageData/MasterPage.master" %>
<asp:Content ID="Head" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
<script type="text/javascript" src="../../../js/checkform.js"></script>
<script type="text/javascript">
    function checkData() {
        if (document.forms[0].oneTimeMoney.value == "") {
            alert("一次性充值金额不能为空!");
            return;
        }
        if (!isMoney(document.forms[0].oneTimeMoney.value)) {
            alert("一次性充值金额必须为货币!");
            return;
        }
        if (document.forms[0].presentBalancePoint.value == "") {
            alert("奖励不能为空!");
            return;
        }
        if (!isNumber(document.forms[0].presentBalancePoint.value)) {
            alert("奖励必须为人效的数字!");
            return;
        }
        document.forms[0].submit();
        return true;
    }
</script>


</asp:Content>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder" runat="server">

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="images/tab_05.gif"><img alt="" src="images/a.gif" width="16" height="16" /> <span class="STYLE4">奖励信息</span></td>
        <td width="281" background="images/tab_05.gif"><table border="0" align="right" cellpadding="0" cellspacing="0">
            <tr>
              <td width="60"><table width="87%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                    </div></td>
                    <td class="STYLE1"><div align="center"></div></td>
                  </tr>
              </table></td>
              <td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img alt="" src="images/002.gif" width="14" height="14" /></div></td>
                    <td class="STYLE1"><div align="center"><a  href="SystemSetting.aspx?action=gopage&pageIndex=1">返回</a></div></td>
                  </tr>
              </table></td>
            </tr>
        </table></td>
        <td width="14"><img alt="" src="images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>

   <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3">
        <table width="50%" border="0" align="center" cellpadding="0" cellspacing="1">
          <tr>
            <td width="20%" height="30"><div align="left" class="STYLE2 STYLE1 STYLE5">标题:</div></td>
            <td width="80%" height="30"><input type="text" name="title" id="title" value="<%=title %>"/></td>
          </tr>
          <tr>
            <td height="30"><div align="left" class="STYLE2 STYLE1 STYLE5">一次充值:</div></td>
            <td height="30"><input type="text" name="oneTimeMoney" id="oneTimeMoney" value="<%=OneTimeMoney %>"/></td>
          </tr>
          <tr>
            <td height="30"><div align="left" class="STYLE2 STYLE1 STYLE5">奖励:</div></td>
            <td height="30"><input type="text" name="presentBalancePoint" id="presentBalancePoint" value="<%=PresentBalancePoint %>"/></td>
          </tr>
          <tr>
            <td height="30"><div align="left" class="STYLE2 STYLE1 STYLE5">备注:</div></td>
            <td height="30"><textarea name="remarks" id="remarks" cols="30" rows="5"><%=remarks %></textarea></td>
          </tr>
          <tr>
          <td width="8%"></td>
          <td width="16%" height="36">
          <input type="button" value="提交" class="STYLE_BUTTON" onclick="checkData();"/></td>
          </tr>        
        </table></td>
        <td width="9" background="images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>

  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="images/tab_20.gif" width="15" height="29" /></td>
        <td background="images/tab_21.gif" width="100%"></td>
        <td width="14"><img src="images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</asp:Content>